ECHO OFF
CLS
:MENU
ECHO.
ECHO ***********************
ECHO 1 - Install Web
ECHO 2 - Clear Cache
ECHO 11 - Create Database
ECHO 12 - Create Schema
ECHO 13 - Update Schema
ECHO Q - EXIT
SET /P M=Command : 
ECHO.
IF %M%==1 GOTO INSTALL_WEB
IF %M%==2 GOTO CLEAR_CACHE
IF %M%==11 GOTO CREATE_DB
IF %M%==12 GOTO CREATE_SCHEMA
IF %M%==13 GOTO UPDATE_SCHEMA
IF %M%==2 GOTO CLEAR_CACHE
IF %M%==q GOTO EOF
ECHO ***********************
:CREATE_DB
php C:\wamp\www\Symfony\app/console doctrine:database:create
rundll32 user32.dll,MessageBeep -1
GOTO MENU
:CREATE_SCHEMA
php C:\wamp\www\Symfony\app/console doctrine:schema:create
rundll32 user32.dll,MessageBeep -1
GOTO MENU
:UPDATE_SCHEMA
php C:\wamp\www\Symfony\app/console doctrine:schema:update --force
rundll32 user32.dll,MessageBeep -1
GOTO MENU
:INSTALL_WEB
php C:\wamp\www\Symfony\app/console assets:install C:\wamp\www\Symfony\web
rundll32 user32.dll,MessageBeep -1
GOTO MENU
:CLEAR_CACHE
php C:\wamp\www\Symfony\app/console cache:clear
rundll32 user32.dll,MessageBeep -1
GOTO MENU